From: Florian Müllner Date: Mon, 1 Aug 2022 09:22:06 +0000 (+0200) Subject: main: Remove log compatibility X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~337^2~1^2~166 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=f07bf7b1b6d1f82c608146cc5325eb9b329f1ab6;p=gnome-shell.git main: Remove log compatibility global.log() hasn't been used since 3.6. It seems extremely unlikely that any extensions are still using it, not least because `log()` is more convenient. Time to move on. Part-of: --- diff --git a/js/ui/main.js b/js/ui/main.js index ece091319..e1cc25afa 100644 --- a/js/ui/main.js +++ b/js/ui/main.js @@ -169,10 +169,6 @@ function _loggingFunc(...args) { async function start() { globalThis.log = _loggingFunc; - // These are here so we don't break compatibility. - global.logError = globalThis.log; - global.log = globalThis.log; - // Chain up async errors reported from C global.connect('notify-error', (global, msg, detail) => { notifyError(msg, detail);